package git.soulbgm.service;

import git.soulbgm.common.base.BaseService;
import git.soulbgm.pojo.OrderDto;
import git.soulbgm.pojo.Orders;


/**
 * 订单表
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2020-11-06 17:27:16
 */
public interface OrderService extends BaseService<Orders> {

    /**
     * 创建订单
     *
     * @param dto 订单数据传输类
     * @return int
     * @throws Exception 异常
     */
    Long createOrder(OrderDto dto) throws Exception;

}
